﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="cbmobile.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Di Động CB</title>
    <link href="/Style/admin/site.css" rel="stylesheet" type="text/css" />
    <link href="/Style/admin/main.css" rel="stylesheet" type="text/css" />
    <style>
        body
        {
            height: 100%;
            background: #16596b; /* Old browsers */
            background: -moz-linear-gradient(-45deg, #16596b 0%, #2e9ab7 100%); /* FF3.6+ */
            background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#16596b), color-stop(100%,#2e9ab7)); /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(-45deg, #16596b 0%,#2e9ab7 100%); /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(-45deg, #16596b 0%,#2e9ab7 100%); /* Opera 11.10+ */
            background: -ms-linear-gradient(-45deg, #16596b 0%,#2e9ab7 100%); /* IE10+ */
            background: linear-gradient(-45deg, #16596b 0%,#2e9ab7 100%); /* W3C */
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#16596b', endColorstr='#2e9ab7',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
        }
        .bg-login
        {
            background: url(../images/bg-login.png) no-repeat;
            width: 503px;
            height: 246px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="color: #fff; width: 100%; text-align: center; padding-top: 200px; font-size: 12pt;
        display: none;" >
        User not have permission to access this system
    </div>
    <div align="center" style="padding-top: 20px;">
        <table border="0" style="border-collapse: collapse;" width="100%" bordercolor="#C0C0C0"
            id="table2" height="600px">
            <tr>
                <td class="C">
                    <table id="Table1" border="0" width="100%">
                        <tr>
                            <td>
                            </td>
                            <td valign="bottom" width="400px">
                                <table border="0" class="bg-login" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td  height="220px">
                                            <asp:Label ID="Label1" runat="server" Font-Names="Arial" Font-Size="9pt" ForeColor="#C00000"></asp:Label>
                                            <asp:Login ID="Login1" runat="server" Font-Names="Arial" ForeColor="White" LoginButtonText="Sign In"
                                                TitleText="">
                                                <LoginButtonStyle BackColor="InactiveCaptionText" BorderStyle="Solid" BorderWidth="1px" />
                                                <LayoutTemplate>
                                                    <table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse">
                                                        <tr>
                                                            <td style="height: 130px">
                                                                <table border="0" cellpadding="0" width="100%">
                                                                    <tr>
                                                                        <td class="R pdR10" width="130px">
                                                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Font-Bold="True"
                                                                                Font-Size="9pt">User Name:</asp:Label>
                                                                        </td>
                                                                        <td style="height: 30px">
                                                                            <asp:HiddenField ID="hdnUsername" runat="server"></asp:HiddenField>
                                                                            <asp:TextBox ID="UserName" runat="server" Width="150px"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                                                ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td class="R pdR10">
                                                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Font-Bold="True"
                                                                                Font-Size="9pt">Password:</asp:Label>
                                                                        </td>
                                                                        <td style="text-align: left; height: 30px;">
                                                                            <asp:TextBox ID="Password" runat="server" TextMode="Password" Width="150px"></asp:TextBox>
                                                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                                                ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td align="center" colspan="2" style="color: red">
                                                                            <asp:Literal ID="FailureText" runat="server"></asp:Literal>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                        </td>
                                                                        <td class="L pdT10">
                                                                            <asp:Button ID="LoginButton" runat="server" BackColor="Aqua" BorderStyle="Solid"
                                                                                BorderWidth="1px" CommandName="Login" Text="Sign In" 
                                                                                ValidationGroup="Login1" onclick="LoginButton_Click" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                        </td>
                                                                        <td class="L pdT10">
                                                                            &nbsp;</td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </LayoutTemplate>
                                            </asp:Login>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                            </td>
                        </tr>
                    </table>
                    <span style="font-family: Arial"><span style="font-size: 9pt"><span style="font-size: 9pt;
                        color: steelblue; font-family: Arial"><span style="font-size: 10pt; color: Aqua;">
                            <br />
                            CMS Web Admin v1.0 <span style="color: Aqua; font-family: Arial">Copyright © 2012
                            </span></span></span></span></span>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
